package com.itheima.homework.Text6;

public class WorkTeach extends Teach{
    public WorkTeach(String name, int age) {
        super(name, age);
    }

    @Override
    public void teach() {
        System.out.println("基础班老师讲JavaEE");
    }
}
